<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ProjectList.ascx.cs" Inherits="Controls_ProjectList" %>
<%@ Register Src="../Manager/Controls/CreateProject.ascx" TagName="CreateProject"
	TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<div class="menuHeadWrap"><div class="menuHead">Projects</div></div>
<div class="menuItemWrap">
<asp:Repeater ID="repProjects" runat="server" DataSourceID="objProjects">
	<ItemTemplate>
		<div class="menuItem"><a href="<%# Request.ApplicationPath + "/Project.aspx?id=" + Eval("ProjectId") %>"><%# Eval("Name") %></a></div>
	</ItemTemplate>
</asp:Repeater>
</div>
<asp:Label ID="lblUsername" runat="server" Visible="false" />
<!-- Datasource connection information -->
<asp:ObjectDataSource ID="objProjects" runat="server" SelectMethod="GetUserProjects"
	TypeName="ProjectsHelper" OldValuesParameterFormatString="original_{0}">
	<SelectParameters>
		<asp:ControlParameter ControlID="lblUsername" Name="username" PropertyName="Text"
			Type="String" />
	</SelectParameters>
</asp:ObjectDataSource>